<?php
class Donvi extends Model
{
    public function getBoMonByKhoa($k_id)
    {
        $sql = <<<SQL
SELECT bm_ten, bm_id
FROM bomon
WHERE dv_id = :id;
SQL;

        return $this->_db->run($sql, array('id' => $k_id));
    }

}
